<%@ page import="com.capgemini.core.AjaxResponse" %>
<%@ page import="com.capgemini.commons.JsonUtil" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%
  AjaxResponse ajaxResponse = new AjaxResponse();

  ajaxResponse.setSuccess(false);
  ajaxResponse.setErrorCode("404");
  ajaxResponse.setMessage("url error.");

  String jsonStr = JsonUtil.getJson(ajaxResponse);

  response.setContentType("application/json;charset=UTF-8");

  out.print(jsonStr);
%>
